package com.example.service;

import com.example.pojo.minorDefectsRecordPojo;

import java.util.List;
import java.util.Map;

/**
 * ClassName:minorDefectsRecordService
 * Package:com.example.service
 * Description:
 *
 * @Author：牧星苑
 * @Create 2025/10/7 14:25
 * @Version 1.0
 */
public interface minorDefectsRecordService {
    //插入一行微小缺陷
    void insertOne(minorDefectsRecordPojo pojo);

    //修改一行微小缺陷
    void editOneById(minorDefectsRecordPojo pojo);

    //根据分页查询微小缺陷数据
    List<minorDefectsRecordPojo> queryByPage(Map<String, Object> map);

    //查询所有微小缺陷条数
    Integer queryQuantity(Map<String, Object> map);
}
